package com.xbongbong.pro.detailtab.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author feng.zheng
 * @version v1.0
 * @date 2019/2/25 13:57
 * @since v1.0
 */
@Getter
@Setter
public class SetChildCustomerDTO extends BaseDTO {
    private static final long serialVersionUID = 684372512933870588L;

    /**
     * 需要设置下级客户的客户id
     */
    @NotNull(message = "{dto.msg.setChildCustomer.customerId.NotNull}")
    private Long customerId;
    /**
     * 下级客户id
     */
    @NotNull(message = "{dto.msg.setChildCustomer.childCustomerId.NotNull}")
    private Long childCustomerId;
}
